package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Storemethod;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface StoremethodDAO extends JpaDao<Storemethod> {

	public Storemethod findStoremethodById(Integer id) throws DataAccessException;

	public Storemethod findStoremethodById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Storemethod> findStoremethodByName(String name) throws DataAccessException;

	public Set<Storemethod> findStoremethodByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Storemethod> findStoremethodByNameContaining(String name_1) throws DataAccessException;

	public Set<Storemethod> findStoremethodByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Storemethod> findStoremethodByDescription(String description) throws DataAccessException;

	public Set<Storemethod> findStoremethodByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Storemethod> findStoremethodByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Storemethod> findStoremethodByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Storemethod findStoremethodByPrimaryKey(Integer id) throws DataAccessException;

	public Storemethod findStoremethodByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Storemethod> findStoremethodsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Storemethod> findAllStoremethods() throws DataAccessException;

	public Set<Storemethod> findAllStoremethods(int startResult, int maxRows) throws DataAccessException;

	public Set<Storemethod> findStoremethodByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Storemethod> findStoremethodsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Storemethod findStoremethodByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Storemethod findStoremethodByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
